Trace Code Execution

   

You trace code execution because it may not always be obvious which statement is executed first. Use these techniques to trace the execution of code:

To trace execution from the current statement

To trace execution from the beginning of the program